<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
   
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="7dd492240224428696f9de1d7753a4b8" class="chart-container" style="width:100%; height:700px;"></div>
    <script>
        var chart_7dd492240224428696f9de1d7753a4b8 = echarts.init(
            document.getElementById('7dd492240224428696f9de1d7753a4b8'), 'white', {renderer: 'canvas'});
        var option_7dd492240224428696f9de1d7753a4b8 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "graph",
            "layout": "force",
            "symbolSize": 10,
            "circular": {
                "rotateLabel": false
            },
            "force": {
                "repulsion": 2500,
                "edgeLength": 50,
                "gravity": 0.2
            },
            "label": {
                "show": true,
                "position": "inside",
                "margin": 8,
                "formatter": function (x) { var strs = x.data.name;   var n='';    var str='centernode';   if(strs.search(str)!=-1) {return  n;}   var strs = x.data.name.split('|')[0];  if(strs.length<=6){                       return strs;                   }else {                       name = strs.slice(0,6) + '...';                        return name;                   }}
            },
            "lineStyle": {
                "width": 1,
                "opacity": 1,
                "curveness": 0,
                "type": "solid"
            },
            "roam": true,
            "draggable": true,
            "focusNodeAdjacency": "true",
            "data": [
                {
                    "name": "\u7c73\u5b89\u8272\u6797|drug",
                    "des": "\u7c73\u5b89\u8272\u6797",
                    "category": 6,
                    "symbolSize": 90
                },
                {
                    "name": "cure_disease|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "use|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "forbid|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "attention|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "uneffect|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "\u5f00\u59cb\u53e3\u670d10mg\uff0c\u6bcf\u59293\u6b21\uff0c\u4ee5\u540e\u9010\u6e10\u589e\u52a0\u3002\u6709\u6548\u5242\u91cf\u4e3a\u6bcf\u592930\uff5e90mg\uff0c\u7761\u524d1\u6b21\u670d\uff0c\u6700\u5927\u5242\u91cf\u53ef\u7528\u81f3\u6bcf\u5929120mg\u3002\u8001\u5e74\u60a3\n\u8005\u4e00\u822c\u4e0d\u8d85\u8fc7\u6bcf\u592930mg\uff0c\u5fc5\u8981\u65f6\u5e94\u7f13\u6162\u589e\u52a0\u5242\u91cf\u3002|use",
                    "des": "\u5f00\u59cb\u53e3\u670d10mg\uff0c\u6bcf\u59293\u6b21\uff0c\u4ee5\u540e\u9010\u6e10\u589e\u52a0\u3002\u6709\u6548\u5242\u91cf\u4e3a\u6bcf\u592930\uff5e90mg\uff0c\u7761\u524d1\u6b21\u670d\uff0c\u6700\u5927\u5242\u91cf\u53ef\u7528\u81f3\u6bcf\u5929120mg\u3002\u8001\u5e74\u60a3\n\u8005\u4e00\u822c\u4e0d\u8d85\u8fc7\u6bcf\u592930mg\uff0c\u5fc5\u8981\u65f6\u5e94\u7f13\u6162\u589e\u52a0\u5242\u91cf\u3002",
                    "category": 2,
                    "symbolSize": 70
                },
                {
                    "name": "1.\u6700\u5e38\u89c1\u7684\u4e3a\u53e3\u5e72\u3001\u4fbf\u79d8\u3001\u55dc\u7761\u3002\u6cbb\u75971\u5468\u540e\u9010\u6e10\u51cf\u8f7b\u3002\n2.\u53ef\u80fd\u53d1\u751f\u5934\u660f\u3001\u76f4\u7acb\u6027\u4f4e\u8840\u538b\u3001\u8840\u7cd6\u7684\u6d53\u5ea6\u6539\u53d8\u3001\u76ae\u75b9\u7b49\u3002\n3.\u5076\u53ef\u51fa\u73b0\u8f7b\u5ea6\u9ec4\u75b8\u3001\u809d\u529f\u80fd\u5f02\u5e38\u3001\u62bd\u6410\u3002\n4.\u9aa8\u9ad3\u6291\u5236\uff0c\u8868\u73b0\u5728\u767d\u7ec6\u80de\u51cf\u5c11\u3001\u7c92\u7ec6\u80de\u51cf\u5c11\u6216\u7f3a\u4e4f\u3001\u518d\u751f\u4e0d\u826f\u6027\u8d2b\u8840\u3002\u4e00\u822c\u5728\u7528\u836f\u5934\u51e0\u5468\u51fa\u73b0\uff0c\u8001\u5e74\u4eba\u5c24\u5176\u591a\u89c1\u3002\n5.\u8fd8\u53ef\u80fd\u53d1\u751f\u7537\u6027\u4e73\u817a\u53d1\u80b2\uff0c\u4e73\u5934\u89e6\u75db\u3001\u51fa\u6c57\u3001\u6c34\u80bf\u548c\u591a\u5173\u8282\u75db\u3002\n6.\u6297\u6bd2\u8548\u78b1\u548c\u5fc3\u810f\u4e0d\u826f\u53cd\u5e94\u6bd4\u4e09\u73af\u7c7b\u6297\u6291\u90c1\u836f\u5c11\u89c1\uff0c\u8d85\u5242\u91cf\u53ef\u80fd\u9020\u6210\u5fc3\u6bd2\u6027\u3002\n7..\u5076\u89c1SGPT\u4e00\u8fc7\u6027\u589e\u9ad8\u3002\u5c11\u6570\u8001\u5e74\u4eba\u53ef\u80fd\u51fa\u73b0\u5fc3\u7535\u56feT\u6ce2\u6539\u53d8\u548cST\u6bb5\u964d\u4f4e\u3002|uneffect",
                    "des": "1.\u6700\u5e38\u89c1\u7684\u4e3a\u53e3\u5e72\u3001\u4fbf\u79d8\u3001\u55dc\u7761\u3002\u6cbb\u75971\u5468\u540e\u9010\u6e10\u51cf\u8f7b\u3002\n2.\u53ef\u80fd\u53d1\u751f\u5934\u660f\u3001\u76f4\u7acb\u6027\u4f4e\u8840\u538b\u3001\u8840\u7cd6\u7684\u6d53\u5ea6\u6539\u53d8\u3001\u76ae\u75b9\u7b49\u3002\n3.\u5076\u53ef\u51fa\u73b0\u8f7b\u5ea6\u9ec4\u75b8\u3001\u809d\u529f\u80fd\u5f02\u5e38\u3001\u62bd\u6410\u3002\n4.\u9aa8\u9ad3\u6291\u5236\uff0c\u8868\u73b0\u5728\u767d\u7ec6\u80de\u51cf\u5c11\u3001\u7c92\u7ec6\u80de\u51cf\u5c11\u6216\u7f3a\u4e4f\u3001\u518d\u751f\u4e0d\u826f\u6027\u8d2b\u8840\u3002\u4e00\u822c\u5728\u7528\u836f\u5934\u51e0\u5468\u51fa\u73b0\uff0c\u8001\u5e74\u4eba\u5c24\u5176\u591a\u89c1\u3002\n5.\u8fd8\u53ef\u80fd\u53d1\u751f\u7537\u6027\u4e73\u817a\u53d1\u80b2\uff0c\u4e73\u5934\u89e6\u75db\u3001\u51fa\u6c57\u3001\u6c34\u80bf\u548c\u591a\u5173\u8282\u75db\u3002\n6.\u6297\u6bd2\u8548\u78b1\u548c\u5fc3\u810f\u4e0d\u826f\u53cd\u5e94\u6bd4\u4e09\u73af\u7c7b\u6297\u6291\u90c1\u836f\u5c11\u89c1\uff0c\u8d85\u5242\u91cf\u53ef\u80fd\u9020\u6210\u5fc3\u6bd2\u6027\u3002\n7..\u5076\u89c1SGPT\u4e00\u8fc7\u6027\u589e\u9ad8\u3002\u5c11\u6570\u8001\u5e74\u4eba\u53ef\u80fd\u51fa\u73b0\u5fc3\u7535\u56feT\u6ce2\u6539\u53d8\u548cST\u6bb5\u964d\u4f4e\u3002",
                    "category": 5,
                    "symbolSize": 70
                },
                {
                    "name": "\u8e81\u72c2\u6291\u90c1\u75c7\u3001\u4e25\u91cd\u809d\u75c5\u60a3\u8005\u7981\u7528\u3002|forbid",
                    "des": "\u8e81\u72c2\u6291\u90c1\u75c7\u3001\u4e25\u91cd\u809d\u75c5\u60a3\u8005\u7981\u7528\u3002",
                    "category": 3,
                    "symbolSize": 70
                },
                {
                    "name": "1.\u766b\u75eb\u3001\u7cd6\u5c3f\u75c5\u60a3\u8005\u614e\u7528\u3002\n2.\u5fc3\u8840\u7ba1\u75be\u75c5\u548c\u809d\u80be\u529f\u80fd\u4e0d\u5168\u7684\u60a3\u8005\u614e\u7528\u3002\n3.\u7528\u836f\u671f\u95f4\u4e0d\u5f97\u9a7e\u8f66\u53ca\u64cd\u4f5c\u673a\u68b0\u3002\n4.\u9752\u5149\u773c\u3001\u6392\u5c3f\u56f0\u96be\u3001\u8111\u90e8\u5668\u8d28\u6027\u75c5\u53d8\u3001\u6709\u766b\u75eb\u53f2\u53ca\u672a\u63a7\u5236\u7cd6\u5c3f\u75c5\u60a3\u8005\u614e\u7528\u3002|attention",
                    "des": "1.\u766b\u75eb\u3001\u7cd6\u5c3f\u75c5\u60a3\u8005\u614e\u7528\u3002\n2.\u5fc3\u8840\u7ba1\u75be\u75c5\u548c\u809d\u80be\u529f\u80fd\u4e0d\u5168\u7684\u60a3\u8005\u614e\u7528\u3002\n3.\u7528\u836f\u671f\u95f4\u4e0d\u5f97\u9a7e\u8f66\u53ca\u64cd\u4f5c\u673a\u68b0\u3002\n4.\u9752\u5149\u773c\u3001\u6392\u5c3f\u56f0\u96be\u3001\u8111\u90e8\u5668\u8d28\u6027\u75c5\u53d8\u3001\u6709\u766b\u75eb\u53f2\u53ca\u672a\u63a7\u5236\u7cd6\u5c3f\u75c5\u60a3\u8005\u614e\u7528\u3002",
                    "category": 4,
                    "symbolSize": 70
                },
                {
                    "name": "\u8001\u5e74\u671f\u6291\u90c1\u75c7|disease",
                    "des": "\u8001\u5e74\u671f\u6291\u90c1\u75c7",
                    "category": 1,
                    "symbolSize": 70
                },
                {
                    "name": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d|disease",
                    "des": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d",
                    "category": 1,
                    "symbolSize": 70
                }
            ],
            "categories": [
                {},
                {
                    "name": "disease"
                },
                {
                    "name": "use"
                },
                {
                    "name": "forbid"
                },
                {
                    "name": "attention"
                },
                {
                    "name": "uneffect"
                },
                {
                    "name": "drug"
                }
            ],
            "edgeLabel": {
                "show": true,
                "margin": 8,
                "formatter": function (x) {return x.data.name;}
            },
            "edgeSymbol": [
                "circle",
                "arrow"
            ],
            "edgeSymbolSize": [
                4,
                10
            ],
            "links": [
                {
                    "source": "\u7c73\u5b89\u8272\u6797|drug",
                    "target": "cure_disease|centernode",
                    "name": "cure_disease"
                },
                {
                    "source": "\u7c73\u5b89\u8272\u6797|drug",
                    "target": "use|centernode",
                    "name": "use"
                },
                {
                    "source": "\u7c73\u5b89\u8272\u6797|drug",
                    "target": "forbid|centernode",
                    "name": "forbid"
                },
                {
                    "source": "\u7c73\u5b89\u8272\u6797|drug",
                    "target": "attention|centernode",
                    "name": "attention"
                },
                {
                    "source": "\u7c73\u5b89\u8272\u6797|drug",
                    "target": "uneffect|centernode",
                    "name": "uneffect"
                },
                {
                    "source": "use|centernode",
                    "target": "\u5f00\u59cb\u53e3\u670d10mg\uff0c\u6bcf\u59293\u6b21\uff0c\u4ee5\u540e\u9010\u6e10\u589e\u52a0\u3002\u6709\u6548\u5242\u91cf\u4e3a\u6bcf\u592930\uff5e90mg\uff0c\u7761\u524d1\u6b21\u670d\uff0c\u6700\u5927\u5242\u91cf\u53ef\u7528\u81f3\u6bcf\u5929120mg\u3002\u8001\u5e74\u60a3\n\u8005\u4e00\u822c\u4e0d\u8d85\u8fc7\u6bcf\u592930mg\uff0c\u5fc5\u8981\u65f6\u5e94\u7f13\u6162\u589e\u52a0\u5242\u91cf\u3002|use",
                    "name": " "
                },
                {
                    "source": "uneffect|centernode",
                    "target": "1.\u6700\u5e38\u89c1\u7684\u4e3a\u53e3\u5e72\u3001\u4fbf\u79d8\u3001\u55dc\u7761\u3002\u6cbb\u75971\u5468\u540e\u9010\u6e10\u51cf\u8f7b\u3002\n2.\u53ef\u80fd\u53d1\u751f\u5934\u660f\u3001\u76f4\u7acb\u6027\u4f4e\u8840\u538b\u3001\u8840\u7cd6\u7684\u6d53\u5ea6\u6539\u53d8\u3001\u76ae\u75b9\u7b49\u3002\n3.\u5076\u53ef\u51fa\u73b0\u8f7b\u5ea6\u9ec4\u75b8\u3001\u809d\u529f\u80fd\u5f02\u5e38\u3001\u62bd\u6410\u3002\n4.\u9aa8\u9ad3\u6291\u5236\uff0c\u8868\u73b0\u5728\u767d\u7ec6\u80de\u51cf\u5c11\u3001\u7c92\u7ec6\u80de\u51cf\u5c11\u6216\u7f3a\u4e4f\u3001\u518d\u751f\u4e0d\u826f\u6027\u8d2b\u8840\u3002\u4e00\u822c\u5728\u7528\u836f\u5934\u51e0\u5468\u51fa\u73b0\uff0c\u8001\u5e74\u4eba\u5c24\u5176\u591a\u89c1\u3002\n5.\u8fd8\u53ef\u80fd\u53d1\u751f\u7537\u6027\u4e73\u817a\u53d1\u80b2\uff0c\u4e73\u5934\u89e6\u75db\u3001\u51fa\u6c57\u3001\u6c34\u80bf\u548c\u591a\u5173\u8282\u75db\u3002\n6.\u6297\u6bd2\u8548\u78b1\u548c\u5fc3\u810f\u4e0d\u826f\u53cd\u5e94\u6bd4\u4e09\u73af\u7c7b\u6297\u6291\u90c1\u836f\u5c11\u89c1\uff0c\u8d85\u5242\u91cf\u53ef\u80fd\u9020\u6210\u5fc3\u6bd2\u6027\u3002\n7..\u5076\u89c1SGPT\u4e00\u8fc7\u6027\u589e\u9ad8\u3002\u5c11\u6570\u8001\u5e74\u4eba\u53ef\u80fd\u51fa\u73b0\u5fc3\u7535\u56feT\u6ce2\u6539\u53d8\u548cST\u6bb5\u964d\u4f4e\u3002|uneffect",
                    "name": " "
                },
                {
                    "source": "forbid|centernode",
                    "target": "\u8e81\u72c2\u6291\u90c1\u75c7\u3001\u4e25\u91cd\u809d\u75c5\u60a3\u8005\u7981\u7528\u3002|forbid",
                    "name": " "
                },
                {
                    "source": "attention|centernode",
                    "target": "1.\u766b\u75eb\u3001\u7cd6\u5c3f\u75c5\u60a3\u8005\u614e\u7528\u3002\n2.\u5fc3\u8840\u7ba1\u75be\u75c5\u548c\u809d\u80be\u529f\u80fd\u4e0d\u5168\u7684\u60a3\u8005\u614e\u7528\u3002\n3.\u7528\u836f\u671f\u95f4\u4e0d\u5f97\u9a7e\u8f66\u53ca\u64cd\u4f5c\u673a\u68b0\u3002\n4.\u9752\u5149\u773c\u3001\u6392\u5c3f\u56f0\u96be\u3001\u8111\u90e8\u5668\u8d28\u6027\u75c5\u53d8\u3001\u6709\u766b\u75eb\u53f2\u53ca\u672a\u63a7\u5236\u7cd6\u5c3f\u75c5\u60a3\u8005\u614e\u7528\u3002|attention",
                    "name": " "
                },
                {
                    "source": "cure_disease|centernode",
                    "target": "\u8001\u5e74\u671f\u6291\u90c1\u75c7|disease",
                    "name": " "
                },
                {
                    "source": "cure_disease|centernode",
                    "target": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d|disease",
                    "name": " "
                }
            ],
            "tooltip": {
                "show": true,
                "trigger": "item",
                "triggerOn": "mousemove|click",
                "axisPointer": {
                    "type": "line"
                },
                "formatter": function (x) { if(x.dataType === 'edge'){return x.data.name;} var strs = x.data.des;  var str = ''; for(var i = 0, s; s = strs[i++];) { if(i==500){str+='...'; break;} str += s; if(!(i % 50)) str += '<br>'; } return str;},
                "textStyle": {
                    "fontSize": 14
                },
                "borderWidth": 0
            }
        }
    ],
    "legend": [
        {
            "data": [
                "",
                "disease",
                "use",
                "forbid",
                "attention",
                "uneffect",
                "drug"
            ],
            "selected": {
                "": true,
                "disease": true,
                "use": true,
                "forbid": true,
                "attention": true,
                "uneffect": true,
                "drug": true
            },
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u7c73\u5b89\u8272\u6797\u76f8\u5173\u77e5\u8bc6\u56fe\u8c31",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_7dd492240224428696f9de1d7753a4b8.setOption(option_7dd492240224428696f9de1d7753a4b8);
    </script>
</body>
</html>
